package com.cpr.ams.mapper;

import com.cpr.ams.bean.ServiceRecord;
import com.cpr.ams.bean.ServiceRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ServiceRecordMapper {
    long countByExample(ServiceRecordExample example);

    int deleteByExample(ServiceRecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ServiceRecord record);

    int insertSelective(ServiceRecord record);

    List<ServiceRecord> selectByExample(ServiceRecordExample example);

    ServiceRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ServiceRecord record, @Param("example") ServiceRecordExample example);

    int updateByExample(@Param("record") ServiceRecord record, @Param("example") ServiceRecordExample example);

    int updateByPrimaryKeySelective(ServiceRecord record);

    int updateByPrimaryKey(ServiceRecord record);
}